home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 / Ham Radio 2000.iso / ham2000 / misc / sherlock / sherlock.txt < prev   
Text File  |  1996-06-30  |  25KB  |  566 lines

  1.  
  2.                         SHERLOCK INSTRUCTIONS
  3.  
  4.  
  5.                              GENERAL
  6.  
  7.  
  8.      Sherlock is a public domain software and hardware system designed 
  9. to capture and display analog data as  graphs. The resolution depends on 
  10. the speed of the computer. The schematics for the simple hardware
  11. were published ( or are to be published ) in September 1996 CQ/VHF magazine.
  12.      
  13.      One type of data it can graph is the the turn-on and turn-off 
  14. characteristics of VHF and UHF transmitters.  
  15.  
  16.      The program is a compiled QuickBasic program and works well
  17. on a 486 DX 33 clone computer, or a faster IBM clone, 486 or Pentium.  
  18. The program must be run under DOS, not in a DOS Window under 3.1. 
  19. It is not known if the program will run under Windows 95.
  20.  
  21.      The computer should have a hard drive and at least 640K of
  22. ram.  There must be a parallel port, LPT1, often referred to as
  23. the printer port.  A manual switch can be used to switch between
  24. the hardware and a printer. The computer must also have a VGA  
  25. screen card and a monitor that can handle VGA.
  26.  
  27.  
  28.  
  29.                  HARDWARE  FOR TRANSMITTER ID
  30.  
  31.      
  32.      The hardware consists of an A/D converter with a buffer
  33. between the A/D chip and LPT1. The schematics were published in 
  34. an article in September 1996 CQ-VHF. The hardware includes an audio
  35. amplifier that amplifies the audio from the discriminator, ratio
  36. detector or quad detector of the FM receiver before it goes to
  37. the A/D converter.  The input to the hardware must be from the
  38. detector of the FM receiver through a shielded cable.  The audio 
  39. that goes to the speaker and to the earphone jack of a modern FM 
  40. receiver has the low frequencies removed or altered, which would 
  41. distort or remove the turn-on and turn-off characteristics.
  42.  
  43.      See the schematic (in September 1996 CQ-VHF) of the A/D converter 
  44. and audio amplifier for further info.
  45.  
  46.      The output of the A/D converter must be connected to LPT1 on
  47. the computer by a cable that has all 25 pins connected.
  48.  
  49.      When you have the hardware finished and connected, follow the 
  50. software installation instructions below. Ground the audio input to the 
  51. A/D converter.  Run Holmes(x).exe , where x is the version number.
  52. Select I, Input Data with Manual Stop and Display from the main menu.
  53. You see a white line across the screen. Midway from the top to the bottom 
  54. of the screen there is a short violet line toward the left side. Adjust
  55. VR2 so that the line across the screen is centered, that is, it is over 
  56. the short violet line.
  57.  
  58.      Connect the input of the audio amp. to the shielded cable from 
  59. the detector of your fm receiver. Observe a nearby FM transmitter turning on 
  60. and off. Adjust  VR1 by experimentation with the program in operation for 
  61. the best display of turn-on and turn-off.  The correct setting is when 
  62. most detail can be seen on most signals.  It is impossible to design a 
  63. circuit that will not "rail" with strong deviation on turn-on and still show 
  64. the characteristics of transmitters that have slight deviation on turn-on.
  65. To arrive at the final setting of VR1, you will have to experiment with
  66. the program, by storing and viewing files as is explained below. The hardware 
  67. can also be used to capture other data. You may want to modify the feedback
  68. resistor and capacitor connected from the input to the output of the 741 
  69. op-amp, depending on what kind of other data you are capturing. You can use
  70. the main menu command Z to slow down the sampling rate if that is necessary
  71. because of the data you are sampling.
  72.  
  73.                                      
  74.                       SOFTWARE INSTALLATION
  75.  
  76.  
  77.      The program Holmes{x}.EXE, where {x} is the version number,
  78. must be in a directory on the C: drive named TI. The sample data file
  79. SAMPLE must be in a subdirectory C:\TI\DTA .  
  80.  
  81.      Use the DOS command MD from the root directory of the C:
  82. drive to create the directory TI.  Use the DOS command CD to
  83. change the default directory to TI.  Then use MD to create the
  84. subdirectory DTA ( C:\TI\DTA ).
  85.  
  86.      Copy the file Holmes{x}.EXE into the C:\TI directory. 
  87. Copy the file SAMPLE into the C:\TI\DTA subdirectory.
  88.  
  89.      All data files will be saved in the DTA subdirectory.
  90.  
  91.      To run the program, change the default directory to C:\TI
  92. with the CD command and type Holmes{x}<ENTER>, where {x} is the
  93. version number. Example:  HOLMES5<ENTER>
  94.  
  95.                                      
  96.  
  97.  
  98.                        MAIN MENU COMMANDS
  99.  
  100.  
  101.         I -- INPUT DATA WITH MANUAL STOP AND DISPLAY
  102.  
  103.  
  104.      Command I from the main menu starts the input of data from
  105. the A/D converter into Buffer 1 and displays it.  There are two Buffers, 
  106. however, Buffer 1 is the only Buffer that data can be placed into from the
  107. A/D.  This command is only for use to set-up the hardware.  The
  108. display of the incoming data on the screen slows down the data
  109. input and the data is interrupted when a new screen is begun.
  110.  
  111.        When command I is entered from the Main Menu, all data in
  112. Buffer 1 is erased. Therefore, if you do not want to loose the
  113. data in Buffer 1, you must use the S command to save it to a file
  114. before using the I command to start the data input.
  115.  
  116.      Each Buffer can hold 20 screens of data. The screens are
  117. filled, one after the other.  When 20 screens of data have been
  118. taken in, the new data goes into screen one, overwriting the data
  119. there.  Then screen 2 is overwritten.  The data input continues
  120. in that circular fashion, rewriting Buffer 1, until any key is
  121. pressed to stop the data intake.
  122.  
  123.      When the data input is stopped, the point at which the data
  124. input was stopped is marked and you are prompted for the
  125. Callsign, Frequency and comments.  The date and time are
  126. automatically added to Buffer 1.  You may then use the command V
  127. to view the data or the command S to save the data to a file.
  128. Of course, the data in Buffer 1 will be erased when you press I
  129. again.  Therefore, save the data to a file if you want to keep
  130. it.  
  131.  
  132.      You must be alert to press any key when there has been a
  133. turn-on or turn-off.   Do not try to tell that from the screen,
  134. instead, listen to the receiver speaker.
  135.  
  136.      Being able to confirm that there is data input is sometimes
  137. helpful in setting up the hardware and in adjusting VR1 on the
  138. circuit board for a good display of a turn-on. 
  139.  
  140.      However, normally you should not use that mode of taking in
  141. data. You should use command D, which will be discussed next.
  142.  
  143.      
  144.  
  145.           D -- INPUT DATA WITH MANUAL STOP & NO DISPLAY
  146.  
  147.      
  148.      Command D from the main menu starts the input of data from
  149. the A/D converter into Buffer 1.  There are two Buffers, however,
  150. Buffer 1 is the only Buffer that data can be placed into from the
  151. A/D. There is no screen display.  This command is for normal use.
  152. The command I displays the data while it comes in, but it arrives
  153. too fast to see and the use of the screen slows down the data
  154. input and distorts the data by breaking it up at the end of each
  155. screen. Therefore, use command D from the main menu for normal data
  156. input.
  157.  
  158.        When command D is entered from the Main Menu, all data in
  159. Buffer 1 is erased. Therefore, if you do not want to loose the
  160. data in Buffer 1, you must use the S command to save it to a file
  161. before using the D command to start the data input.
  162.  
  163.      Each Buffer can hold 20 screens of data. The screens are
  164. filled, one after the other.  When 20 screens of data have been
  165. taken in, the new data goes into screen one, overwriting the data
  166. there.  Then screen 2 is overwritten.  The data input continues
  167. in that circular fashion, rewriting Buffer 1, until any key is
  168. pressed to stop the data intake.
  169.  
  170.      The scan rate, or data input rate, is slightly over 3500
  171. readings of the A/D converter per second, when using a 486 DX 33
  172. computer.  The program has a data input mode with delay for very
  173. fast computers. Only those with Pentium 100 MHZ machines will
  174. need that mode.
  175.  
  176.      When the data input is stopped, the point at which the data
  177. input was stopped is marked and you are prompted for the
  178. Callsign, Frequency and comments.  The date and time are
  179. automatically added to Buffer 1.  Make sure that the computer date and
  180. time are correct when you start the program..You may then use the 
  181. command V to view the data or the command S to save the data to a file.
  182.  
  183.      Of course, the data in Buffer 1 will be erased when you
  184. press D again.  Therefore, save the data to a file if you want to
  185. keep it.  
  186.  
  187.      You must be alert to press any key when there has been a
  188. turn-on or turn-off. Listen to the receiver.  If you find you are
  189. not interested in the station whose turn-on or turn-off you have
  190. saved, use <return> to cycle back to the menu and press D again
  191. to erase the data you do not want and start taking in data.
  192.  
  193.      You will use command D to input data more than any other
  194. data input mode.     
  195.      
  196.  
  197.  
  198.            Z -- INPUT DATA WITH DELAY AND MANUAL STOP
  199.  
  200.      
  201.      A very fast computer, such as a Pentium 100 MHZ computer,
  202. may take in data so fast that the turn-on is spread over several
  203. screens.  The operator may not react fast enough to press any key
  204. to stop the input after a turn-on or turn-off has occurred.
  205.  
  206.      Command Z works just like command D, except that the data
  207. input is slowed down.  A number you are asked to enter
  208. ( generally 1 through 5 ) slows the scan rate down.  
  209.  
  210.      Use this mode of data input if you have a Pentium 100 MHz
  211. computer and the data input is too fast for you to react. 
  212.                                                   
  213.                                                   
  214.                A -- INPUT DATA WITH AUTOMATIC STOP
  215.      
  216.  
  217.      Command A from the main menu starts the input of data from
  218. the A/D converter into Buffer 1.  There are two Buffers, however,
  219. Buffer 1 is the only Buffer that data can be placed into from the
  220. A/D.  This command is for unattended use.  There is no screen
  221. display.
  222.  
  223.      When command A is entered from the Main Menu, all data in
  224. Buffer 1 is erased. Therefore, if you do not want to loose the
  225. data in Buffer 1, you must use the S command to save it to a file
  226. before using the A command to start the data input.
  227.  
  228.      Each Buffer can hold 20 screens of data. The screens are
  229. filled, one after the other.  When 20 screens of data have been
  230. taken in, the new data goes into screen one, overwriting the data
  231. there.  Then screen 2 is overwritten.  The data input continues
  232. in that circular fashion, rewriting Buffer 1, until the program
  233. detects a carrier.
  234.  
  235.      The program detects a carrier by checking each screen, after
  236. it has taken in 20 screens of data, for a screen in which there
  237. are minimal deviations from the center frequency. If it finds a
  238. screen that looks like a carrier is on the frequency, all 20
  239. screens, together with the date and time are written into a file
  240. called AUTO.A .  The next time the program detects a carrier the
  241. file the data will be written into will be called AUTO.B and so
  242. forth until the last file Auto.Y is written. Only 26 files may be
  243. saved in automatic mode.  The AUTO files will be overwritten from
  244. A to Y the next time you press A from the main menu, so you must
  245. use the DOS commands to rename an AUTO file you want to keep. All
  246. AUTO files appear in the subdirectory C:\TID\DTA , therefore you
  247. can protect AUTO files from being overwritten by moving them to
  248. another directory as well as renaming them.
  249.  
  250.      Clearly, automatic mode is useful only when the only
  251. expected operation is the station you want to observe.  On a busy
  252. channel, all 26 files would soon be written.
  253.  
  254.      The receiver in use, VR1 setting on the circuit board and noise
  255. present will vary from user to user.  Therefore, the check-number to
  256. which the program compares the sum of the deviations from center
  257. frequency may have to be changed.  Increasing the number will increase
  258. the ease with which the system is "tripped" and decreasing the
  259. number will decrease the ease with which the system is "tripped". 
  260. The default number is 1500.
  261.  
  262.            
  263.                P -- CHANGE AUTO-SAVE CHECK-NUMBER
  264.  
  265.      
  266.      The command P permits you to change the number used to
  267. determine when the input should be stopped in the automatic input
  268. mode. See the last paragraph of the preceding section of these
  269. instructions.
  270.  
  271.  
  272.                                 
  273.  
  274.                   V -- VIEW DATA FROM BUFFER 1
  275.                   2 -- VIEW DATA FROM BUFFER 2
  276.  
  277.  
  278.      The Main Menu command V lets you view data from Buffer 1
  279. while the 2 command lets you view data from Buffer 2.  Remember,
  280. data can be loaded from the A/D converter only into Buffer 1 and
  281. data can be saved to a file only from Buffer 1.  However, data
  282. can be copied from Buffer 1 to Buffer 2, data from a file can be
  283. loaded into either Buffer and you can compare data in the two
  284. buffers.
  285.  
  286.      Since the view commands, V and 2 , work the same, they will
  287. be discussed together.
  288.  
  289.      After pressing V or 2, you will be asked to enter the sample
  290. rate for viewing.  This takes a little explanation.
  291.  
  292.      The data is entered into the computer by the program. How
  293. many times per second that the computer samples the output of the
  294. A/D converter depends on the computer's speed.  A 486 DX 33 will
  295. take in about 3,500 readings per second, which is about 5 screens
  296. of data at 640 readings displayed across the screen.  If the
  297. computer is faster there will be more readings per second and the
  298. data will spread out over more screens when it is displayed.
  299.  
  300.      Some transmitters have turn-on periods so long that they
  301. extend over more than one screen, when the data is taken in by a
  302. 486 DX 33.  You may want to see the entire turn-on pattern on one
  303. screen. You can do that by simulating the reduction of the sample
  304. rate while you are viewing the data.  By responding with 2
  305. through 5 to the "Enter Sample Rate" prompt, you can "compress"
  306. the data into less horizontal space (screens). Of course you will
  307. loose detail.
  308.  
  309.      The effect is the same as using a slower computer when
  310. originally taking in the data. When you use the Sample Rate entry
  311. to compress the data while in the view mode, you can later view
  312. the data with full detail by going back to V or 2 on the Main
  313. Menu and entering 0 or 1 in response to the "Sample Rate" prompt.
  314.  
  315. This is the primary difference between compressing the data when
  316. taking it in by use of the Main Menu Z command and "compressing"
  317. the data when viewing.  When you slow down the data input you
  318. forever lose detail. When you view with a simulated slower sample
  319. rate you lose nothing and can go back and view with the fast
  320. sample rate and full detail.
  321.  
  322.      This sounds a lot more complicated than it is.  By viewing
  323. the sample files with different sample rates you can easily see
  324. what is happening.
  325.  
  326.      For the first few times, you should respond to the "Enter
  327. Sample Rate" prompt with 1 or <return>  to see the full detail 
  328. your computer can provide.
  329.  
  330.      When you press 1 through 5 in response to the Sample Rate
  331. prompt, you are placed in view mode.  The last screen of data
  332. that was taken is on the screen. The small white dash toward the
  333. bottom of the screen marks the point at which the data entry was
  334. stopped.
  335.  
  336.      Probably what you want to see, the turn-on or turn-off, is
  337. not on the last screen of data taken. You want to move back and
  338. forth between the 20 screens of data in the buffer and to scroll
  339. around a screenfull.
  340.  
  341.      To move around in the data, or, rather, to change the data
  342. screen displayed, use the following keys:
  343.  
  344.      B --- When pressed goes back (in time) a screen to the prior
  345.            screen.
  346.  
  347.      < --- When pressed scrolls the data about 1/5 of a screen in
  348.            that direction.
  349.  
  350.      > ___ When pressed scrolls the data about 1/5 of a screen in
  351.            the other direction.
  352.  
  353.      M --- When pressed takes you back to the Main Menu.
  354.  
  355.      Any Other Key (Except the above).  Takes you one screen     
  356.      forward in time.
  357.  
  358.      Notice that when you pass the marker that shows when the
  359. data entry was stopped you jump from the end to the beginning of
  360. the data, or the other way depending on which way you are going.
  361. If the scrolling becomes confusing, especially with the slow
  362. sample rates, you are encountering the end of the data.  
  363.  
  364.               If you happen to get confused as to time, do not worry. Use
  365. M to go back to the Main Menu, then go to V or 2 and the data
  366. will be presented so that the point the data input was stopped is
  367. on the screen and marked with the small dash toward the bottom of
  368. the data display area.
  369.  
  370.      A little experience will make the use of the view command
  371. easy.
  372.  
  373.      You will notice that the date and time that the data input
  374. stopped are displayed, as are any Call, frequency or comments you
  375. entered when you stopped the input.  If the automatic mode was
  376. used to gather the data you are told that the automatic mode was
  377. in effect.
  378.  
  379.      
  380.  
  381.      C --- COMPARE DATA FROM BUFFER 1 AND BUFFER 2
  382.  
  383.  
  384.      You will want to compare the turn-on characteristics of
  385. transmitters that are unknown with data you have filed.  This
  386. mode will let you do that.
  387.  
  388.      When you press C from the Main Menu, you will be placed in
  389. compare mode. You will be prompted for a sample rate. See the
  390. discussion of sample rate in the previous section of these
  391. instructions.
  392.  
  393.      After you select a sample rate, the program will place the
  394. data in Buffer 1 at the top of the screen, reduced in size. When
  395. you press C again, the data from Buffer 2 will be placed at the
  396. lower portion of the screen.  The displays are not labeled, and
  397. no date, time or call appears, because the entire screen is used
  398. to display data.  However, you can keep from being confused by
  399. remembering that the data from Buffer 1 is at the top and the
  400. data from Buffer 2 is at the bottom.
  401.  
  402.      The control keys in the compare mode are the same as the
  403. control keys in the view mode, except that pressing C causes the
  404. effect of pressing the control keys to be transferred from one
  405. set of data to the other.  That way, you can scroll the data from
  406. Buffer 1 and then scroll the data from Buffer 2.
  407.                                        
  408.    
  409.      In the compare mode, to move around in the data, or, rather,
  410. to change the data screen displayed, use the following keys:
  411.  
  412.      B --- When pressed goes back (in time) a screen to the prior
  413.            screen.
  414.  
  415.      < --- When pressed scrolls the data about 1/5 of a screen in
  416.            that direction.
  417.  
  418.      > ___ When pressed scrolls the data about 1/5 of a screen in
  419.            the other direction.
  420.  
  421.      
  422.      C --- When pressed toggles the control between the Buffer 1
  423.            data at the top of the screen and the Buffer 2 data at
  424.            the bottom.   
  425.  
  426.      M --- When pressed takes you back to the Main Menu.
  427.  
  428.      Any Other Key (Except the above).  Takes you one screen     
  429.      forward in time.
  430.  
  431.      When making comparisons you should know that the signal
  432. strength may effect how the turn-on characteristics appear, as
  433. the effect on your receiver's detector circuit may change with
  434. signal level.  Experience in using the system is necessary to
  435. make identifications. Whether or not you can tell the difference
  436. between two transmitters of the same make and model will depend
  437. on the speed of your computer, your skill and the receiver you
  438. use.
  439.  
  440.  
  441.                                 
  442.                      S -- SAVE DATA TO FILE
  443.  
  444.  
  445.      The command S from the Main Menu saves the data in Buffer 1
  446. to a file.  Only data in Buffer 1 can be saved.  If you want to
  447. save data in Buffer 2, you must first move the data from Buffer 2
  448. to Buffer 1, where it can be saved to a file.
  449.  
  450.      You will be prompted for a filename.  Use only letters and
  451. numbers, as the characters that cannot be used in DOS filenames
  452. must not be used.  Do not attempt to enter a drive, such as C:,
  453. or a directory, as the file will be automatically placed in the
  454. subdirectory C:\TID\DTA .  Use a filename you can remember, such
  455. as the call of the station creating the data, or some other name
  456. you can remember. Do not use the name of an existing file.
  457.  
  458.     The data will be saved as a basic sequential file, which is
  459. an ASCII file with 12800 data items expressed in ASCII with each
  460. data item separated by a <CR> . The data items are followed by
  461. ASCII strings for the date, time, callsign and the
  462. frequency/comments. Several empty reserved strings follow. The
  463. string variables in the file are delimited by commas. The empty
  464. reserved strings are for any future program expansion, although
  465. no such expansion is planned.
  466.  
  467.      The data file can be displayed by any means that an ASCII
  468. file can be displayed, including the DOS command TYPE and the DOS
  469. Editor.  
  470.  
  471.  
  472.  
  473.              L --- LOAD DATA FROM FILE INTO BUFFER 1
  474.              E --- LOAD DATA FROM FILE INTO BUFFER 2
  475.  
  476.      
  477.      Command L from the Main Menu loads data from a file into
  478. Buffer 1. Command E loads data from a file into Buffer 2.  The
  479. date loaded from a file overwrites any prior data in the buffer.
  480. Both commands work exactly the same, the only difference is which
  481. buffer the data from the file is placed in.
  482.  
  483.      Be certain to save the data ( if you want to keep it ) that
  484. is in the buffer the file data is to be loaded into.  All data in
  485. the buffer will be overwritten by the new data.
  486.  
  487.      When you press L or E from the main menu you will be asked
  488. for the filename.  The file must be in subdirectory C:\TID\DTA.
  489. You should only enter the filename followed by <enter> when you
  490. are asked for the filename. Do not enter a drive or directory.
  491. All data files are in the C:\TID\DTA subdirectory.
  492.  
  493.      When you have loaded data from a file into a buffer you can
  494. see the data by using the command V for Buffer 1 and the command
  495. 2 for Buffer 2.
  496.                                                   
  497.  
  498.               F ---VIEW SUBDIRECTORY OF DATA FILES
  499.  
  500.  
  501.      Command F from the Main Menu lists the filenames of the data
  502. files in subdirectory C:\TID\DTA.  As all data files are in this
  503. subdirectory, the list includes all files that you can load into
  504. the buffers.
  505.  
  506.  
  507.  
  508.                  ] --- COPY BUFFER 1 TO BUFFER 2
  509.                  ] --- COPY BUFFER 2 TO BUFFER 1
  510.  
  511.  
  512.      From the Main Menu the command ] copies the data in Buffer 1
  513. into Buffer 2.  Any data already in Buffer 2 is overwritten by
  514. the data copied from Buffer 1.  Be careful before you use this
  515. command that you have saved any data in Buffer 2 that you want to
  516. keep.
  517.  
  518.      From the Main Menu the command [ copies the data in Buffer 2
  519. into Buffer 1.  Any data already in Buffer 1 is overwritten by
  520. the data copied from Buffer 2.  Be careful when you use this
  521. command that you have saved any data in Buffer 1 that you want to
  522. keep.
  523.  
  524.  
  525.                                 
  526.                          PRINTING GRAPHS
  527.  
  528.  
  529.      If you have a printer that can be set to print graphics by
  530. use of the DOS "GRAPHICS" command, you can print out a turn-on or
  531. turn-off data graph.
  532.  
  533.      To print the graph of a turn-on or turn-off, you must use
  534. the DOS command "GRAPHICS" from the DOS prompt before you run the 
  535. program TID{x}.EXE .  See your DOS manual for the proper usage of
  536. the GRAPHICS command and the printers supported by that command.
  537. In general, the word GRAPHICS must be followed by a specific
  538. designation for your printer. For example, to enable DOS graphics
  539. printing for a HP 4L laser printer, at the DOS prompt you enter
  540. GRAPHICS LASERJETII <enter> .
  541.  
  542.      If the printer is supported by the DOS GRAPHICS command, and
  543. if that command has been properly used prior to running the
  544. program, pressing <shift><Print Screen> will print out on the
  545. printer whatever is on the screen.  Remember to switch from the
  546. A\D converter to the printer if the printer uses LPT1.
  547.  
  548.                                                   
  549.  
  550.                            Q --- QUIT
  551.  
  552.  
  553.      From the main menu the command Q terminates the program and
  554. returns you to a DOS prompt.  Any data in either buffer that has
  555. not been saved to a file is lost.
  556.  
  557.  
  558.  
  559.                                 Malcolm C. Mallette, WA9BVS
  560.  
  561.  
  562.  
  563.  
  564.                                         END                      
  565.                
  566.